
package com.trydofor.id.exec;

import com.trydofor.id.doer.shell.ArgHelp;
import com.trydofor.id.doer.shell.Command;

/**
 * @author : Shi Rongjiu (www.trydofor.com)
 */
public final class DecoderCmd {
    
    private DecoderCmd() {
    }
    
    /**
     * register a decoder
     * 
     * @return the decoder
     */
    public static Command registerDecoder() {
        Command cmd = new Command("register", "register the decoder");
        ArgHelp argName = new ArgHelp("name");
        argName.setManual("the decoder name");
        argName.setRequired(true);
        cmd.addArgument(argName);
        return cmd;
    }
}
